package motionsApp.client;

import java.util.List;

import motionsApp.shared.MotionDTO;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("greet")
public interface MotionsService extends RemoteService {
	String addNewMotion(List<MotionDTO> motions) throws IllegalArgumentException;
	List<MotionDTO>	getMotions();
	MotionDTO getRandomMotion();
	void updateMotion(MotionDTO motion);
}
